#include "StdAfx.h"
#include "SgTranslate.h"
#include <gl/gl.h>

CSgTranslate::~CSgTranslate(void)
{
}

void CSgTranslate::Render()
{
	if (m_child != NULL)
	{
		glTranslated(m_x, m_y, m_z);
		m_child->Render();
	}
}